package com.vhdadw.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vhdadw.controller.request.TrafficPageRequest;
//import com.vhdadw.controller.request.UseTrafficRequest;
import com.vhdadw.model.EventMessage;
import com.vhdadw.utils.JsonData;
import com.vhdadw.vo.TrafficVO;

import java.util.Map;

public interface TrafficService {

    void handleTrafficMessage(EventMessage eventMessage);

    Map<String, Object> pageAvailable(TrafficPageRequest request);

    TrafficVO detail(Long trafficId);

//    /**
//     * 删除过期流量包
//     * @return
//     */
//    boolean deleteExpireTraffic();

//    JsonData reduce(UseTrafficRequest useTrafficRequest);

}
